#!/bin/bash
PAT=$1
echo $PAT
echo "test clean acc"
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry test --model-path ./runs/$PAT/model_final.pth
echo "test pgd step attack"
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pgdtest --model-path ./runs/$PAT/model_final.pth --eps 0.08 --pgd_step 20
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pgdtest --model-path ./runs/$PAT/model_final.pth --eps 0.08 --pgd_step 50
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pgdtest --model-path ./runs/$PAT/model_final.pth --eps 0.08 --pgd_step 100
echo "test pgd eps attack"
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pgdtest --model-path ./runs/$PAT/model_final.pth --eps 0.1 --pgd_step 50
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pgdtest --model-path ./runs/$PAT/model_final.pth --eps 0.08 --pgd_step 50
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pgdtest --model-path ./runs/$PAT/model_final.pth --eps 0.06 --pgd_step 50
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pgdtest --model-path ./runs/$PAT/model_final.pth --eps 0.04 --pgd_step 50
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pgdtest --model-path ./runs/$PAT/model_final.pth --eps 0.02 --pgd_step 50
echo "test point cloud attacks"
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pladvtest --model-path ./runs/$PAT/model_final.pth --eps 0.08 --pladv 3dadv
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pladvtest --model-path ./runs/$PAT/model_final.pth --eps 0.08 --pladv advpc
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pladvtest --model-path ./runs/$PAT/model_final.pth --eps 0.08 --pladv aof
CUDA_VISIBLE_DEVICES=7 python main.py --exp-config configs/pgd/mn10_pointnet_pgd08ce.yaml --entry pladvtest --model-path ./runs/$PAT/model_final.pth --eps 0.08 --pladv knn